<template>
  <!-- 写作研修班 -->
  <!-- 标题，关键词，共xx节，￥998, 888人购买 -->
  <div class="streamingvideo" id="streamingvideo">
    <Header></Header>
    <!--本来应该是导航，（方便全局替换）-->
    <!-- <HHeader></HHeader> -->
    <!-- 5826AC81198BA12C -->
    <!-- @ViewBag.url -->
    <iframe :src="this.iframe" frameborder="0" id="iframeId" ref="iframes" allowfullscreen="true" allow="microphone; camera" style="border:0;width:100%;height:1192px;margin:0 auto" ></iframe> 
    <FootBase></FootBase>
    
    <NaviRight></NaviRight>
  </div>
</template>

<script>
// import router from '@/router/index'
import $ from 'jquery'
export default {
  data(){
    return{
      openid:localStorage.getItem('AuthorId'),
      ChannelId:this.$route.query.channelid,
      iframe:'',
    }
  },
  methods:{
    
  },
  mounted(){
    var _iframe = $('#iframeid').contents();

    this.iframe = "https://livecvjournals.yywkt.com/live/livepolyv?openid="+this.openid+'&channelid='+this.ChannelId
  }
}
</script>

<style lang="less" scoped>
#streamingvideo{
  @media screen and (min-width: 1500px){
    // /deep/iframe {
    //   height: 1159px!important;
    // }
  }
}
</style>
<style>
  @media screen and (max-width:1010px){
    .message-logout{
      width:80%!important;  
    }
  }
</style>